package com.lhsy.djcloud.controller.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 活动相关的表
 * </p>
 *
 * @author wangzw
 * @since 2020-11-05
 */
@Data
@ApiModel(value="查询条件")
public class SearchVo implements Serializable {

    private static final long serialVersionUID = 1L;
    private Integer tenantId;
    private Integer type;
    @ApiModelProperty(value = "机构id")
    private Integer deptId;
    private Integer userId;
    @ApiModelProperty(value = "关键字",required = true)
    private String params;

    @ApiModelProperty(value = "开始时间 格式: yyyy-MM-dd HH:mm:ss")
    @JsonFormat( pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "会议级别 1=党机构会议 2=党支部会议 3=党小组会议")
    private Integer level;

    @ApiModelProperty(value = "结束时间 格式: yyyy-MM-dd HH:mm:ss")
    @JsonFormat( pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endTime;
    private Integer pageNo;
    private Integer pageSize;

    @ApiModelProperty(value = "发布用户 ids")
    private List<Integer> userIds;
}
